home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
038a
/
hugegr.zip
/
HUGEGRID.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-07-31
|
1KB
|
30 lines
DefInt A-Z
Global hArray As Integer
Declare Function HugeDim Lib "hugearr.dll" (ByVal recsize%, ByVal limit&) As Integer
Declare Function HugeRedim Lib "hugearr.dll" (ByVal hArray%, ByVal limit&) As Integer
Declare Function HugeErase Lib "hugearr.dll" (ByVal hArray%) As Integer
Declare Function SetHugeEl Lib "hugearr.dll" (ByVal Index%, ByVal el&, buffer As Any) As Integer
Declare Function GetHugeEl Lib "hugearr.dll" (ByVal Index%, ByVal el&, buffer As Any) As Integer
Declare Function NumHugeArrays Lib "hugearr.dll" () As Integer
Declare Function HugeInt Lib "hugearr.dll" (ByVal hArray%, ByVal el&) As Integer
Declare Function HugeLong Lib "hugearr.dll" (ByVal hArray%, ByVal el&) As Long
Declare Function HugeSingle Lib "hugearr.dll" (ByVal hArray%, ByVal el&) As Single
Declare Function HugeDouble Lib "hugearr.dll" (ByVal hArray%, ByVal el&) As Double
Declare Function HugeCurrency Lib "hugearr.dll" (ByVal hArray%, ByVal el&) As Currency
Declare Function HugeUbound Lib "hugearr.dll" (ByVal hArray%) As Long
Type Element
a1 As String * 7
a2 As String * 8
a3 As String * 9
dummy As String * 8
End Type
'Note that the dummy string is required because a Huge Array
'must be set to a record length of some power of 2.
'The next highest power of 2 in this case is 2^5 = 32
'and 32 - (7+8+9) = 8